#ifndef __DOCUMENTTYPE__H_
#define __DOCUMENTTYPE__H_

#include "FileType.h"
#include <stdio.h>


class DocumentType : public FileType {

     public:

        DocumentType();
        ~DocumentType();
        void parse(std::string path,Catalogues* catalog,EXTRACTOR_KeywordList* list);
    private:
        void parseText(std::string path,Catalogues* catalog);
        void parseExtractor(std::string path,Catalogues* catalog,EXTRACTOR_KeywordList* list);
        void validateExtension(std::string& fileName);
        regex_t regex;

};

#endif // DocumentType_h
